package com.doodod.common.exception;

/**
 * Created with IntelliJ IDEA.
 * User: ydw
 * Date: 2015/5/29
 * Time: 17:39
 */
public class SecurityException extends Exception{

    private static final long serialVersionUID = 1L;

    public SecurityException(){
        super();
    }

    private String message;         // 记录错误消息

    public SecurityException(String message){
        this.message = message;
    }

    public String getMessage() {
        return message;
    }
}
